{extend name="public:_base" /}
{block name="main"}
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> {eq name="$type" value="index"}PC{else/}手机{/eq}模板管理 <span
        class="c-gray en">&gt;</span> 模板列表 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px"
                                              href="javascript:location.replace(location.href);" title="刷新"><i
        class="Hui-iconfont">&#xe68f;</i></a></nav>

<div class="page-container">

    <div class="row cl">
        <label class="form-label col-xs-3 col-sm-3">
            <!--{volist name="dir" id="vo"}-->
            <!--<a href="{:url('setview/index',['dir'=>$vo.dir,'name'=>$vo.name,'type'=>$vo.type])}" title="编辑模板" >{$vo.filename}</a><br>-->
            <!--{/volist}-->


            {volist name="dir" id="vo"}
            <a href="{:url('setview/index',['dir'=>$vo.dir,'name'=>$vo.name,'type'=>$vo.type])}" title="编辑模板" >{$vo.filename}</a><br>
            {/volist}
        </label>
        <div class="formControls col-xs-9 col-sm-9">
            <label>{$dirfile}</label>
            <form action="{:url('setview/save')}" method="post">
                <textarea name="filevalue" class="textarea" style="width:100%; height:500px; resize:none">{$value|default=''|htmlentities ?? ''}</textarea>
                <div class="mt-20 text-c">
                    <input name="dir" value="{$dirfile}" type="hidden" />
                    <input name="type" value="{$type}" type="hidden" />
                    <button name="system-base-save" id="system-base-save" class="btn btn-success radius" type="submit">
                        <i class="icon-ok"></i> 确定
                    </button>
                </div>
            </form>
        </div>
    </div>

</div>
</div>
{/block}